package com.chainyoung.common.appcommon.hdwallet;

import org.json.JSONObject;

import java.math.BigInteger;

public class ResponseParser {

    public static BigInteger parseGasPrice(String response) throws Exception {
        String gasprice = new JSONObject(response).getString("result");
        return new BigInteger(gasprice.substring(2), 16);
    }


}
